package pers.qianyu.domain.common;

import lombok.*;

import java.io.*;
import java.util.*;

/**
 * 通用分页查询实体
 *
 * @author mizzle rain
 * @date 2020-10-11 22:32
 */
@Data
public class Pagination<T> implements Serializable {
    private static final long serialVersionUID = 360492656333226560L;
    /**
     * 页码
     */
    private Long current;
    /**
     * 页面大小
     */
    private Long size;
    /**
     * 总记录数
     */
    private Long total;
    /**
     * 数据
     */
    private List<T> records;
}
